package com.linsir.lin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.linsir.base.BasePOJO;
import lombok.Data;

/**
 * 关联角色
 *
 */
@Data
@TableName(value = "lin_account_role")
public class AccountRole extends BasePOJO {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private Integer accountId;

    private Integer roleId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
}
